package com.tunxing.创建型.单例设计模式;

public class 静态内部类 {

    private static class SingleHolder {
        private static final Person person = new Person();
    }

    public static final Person getPerson() {
        return SingleHolder.person;
    }
}
